lines = ['yf', 'how to write text files in computer']

with open('yf.txt', 'w') as f:
    for line in lines:
        f.write(line)
        f.write('\n')

print("计科1814-39-易芳")